﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<title></title>
<!--框架必需start-->
<link href="../../libs/css/import_main.css" rel="stylesheet" type="text/css"/>
<link href="../../libs/skins/steelblue/style.css" rel="stylesheet" type="text/css" id="theme" themeColor="steelblue" positionTarget="positionContent" defaultSelWidth="250" selInputHeight="42" defaultSelItemHeight="40" defaultButtonGroup="125"/>
<link href="skin/style.css" rel="stylesheet" type="text/css" id="skin" skinPath="system/style5_topmenu_accordion_steelblue/skin/"/>
<script type="text/javascript" src="../../libs/js/jquery.js"></script>
<script type="text/javascript" src="../../libs/js/language/cn.js"></script>
<script type="text/javascript" src="../../libs/js/main.js"></script>
<!--框架必需end-->

<!--弹窗组件start-->
<script type="text/javascript" src="../../libs/js/popup/drag.js"></script>
<script type="text/javascript" src="../../libs/js/popup/dialog.js"></script>
<!--弹窗组件end-->

<!--引入提示组件start-->
<script type="text/javascript" src="../../libs/js/popup/toast.js"></script>
<script type="text/javascript" src="../../libs/js/popup/notice.js"></script>
<!--引入提示组件end-->

<!--左侧导航start-->
<script type="text/javascript" src="../../libs/js/nav/menuNav.js"></script>
<!--左侧导航end-->

<!--信件箱start-->
<link rel="stylesheet" type="text/css" href="../../libs/skins/steelblue/msgbox.css" />
<script type="text/javascript" src="../../libs/js/popup/msgbox.js"></script>
<!--信件箱end-->

<style>
	body{
		width: 100%!important;
		margin: 0;
		padding:0;
	}
	/*修改小铃铛样式*/
	.right_tip{
		width: 60px;
		height: 60px;
		/*margin-top: 20px;*/
		margin-right: 10px;
	}
	.tip_icon{
		margin-top: 20px;
		background: url(skin/LD_icon.png) center center no-repeat;
	}
	.tip_icon_win:hover .tip_icon {
	    background: url(skin/LD_icon.png) center center no-repeat;
	}
	.tip_balloons{
		margin-top: 10px;
	}
	.tip_toggle_content{
		top: 60px;
		right: -16px;
	}
	.tip_allcontent_win,
	.tip_allcontent{
		top: 60px;
	}
	#positionContent{
		float: left;
		width: 250px;
		height: 60px;
		line-height: 60px;
		color: #fff;
		margin-left: 20px;
	}
</style>
</head>
<body>
<div id="mainFrame">
<!--头部与导航start-->
<div id="hbox">
	<div id="bs_bannercenter">
	<div id="bs_bannerright">
	<div id="bs_bannerleft">
		<div class="nav_icon_h"></div>
		<div class="main_title"></div>
		<div id="positionContent">首页</div>
		<div>
			<!--<div class="bs_function">
				<a href="../../sample_skin/personal/basic11.html" target="frmright"><span class="" style="background-position: 0 1px;">首页</span></a>
				<span class="" style="background-position: 0 -16px;" onclick="lockScreen()">锁屏</span>
				<span class="" style="background-position: 0 -33px;" onclick='top.Dialog.confirm("确定要退出系统吗",function(){});'>退出</span>
			</div>
			<div class="bs_userinfo">
				<i></i>
				<span>欢迎 admin</span>
				<a href="javascript:;" class="right_tip clearfloat"></a>
				<div style="clear: both;"></div>
			</div>-->
		</div>
		<ul class="primary header_menu">

		</ul>
		<div class="top_right">
			<a href="../../sample_skin/page5/page5.html" target="frmright" class="home"></a>
			<a href="javascript:;" class="right_tip clearfloat"></a>
			<div class="setting">
				<div class="right_toggle">
					<span></span>
					<ul class="right_toggle_content" style="display: none;">
						<!--<li class="clearfloat right_toggle_home"><a href="../../sample_skin/page7/page7.html" target="frmright"><i></i>首页</a></li>-->
						<li class="clearfloat right_toggle_lock_screen" onclick="lockScreen()"><a href="javascript:;" target="frmright"><i></i>锁屏</a></li>
						<li class="clearfloat right_toggle_sign_out"  onclick="top.Dialog.confirm('确定要退出系统吗',function(){});"><a href="javascript:;" target="frmright"><i></i>退出</a></li>
					</ul>
				</div>
			</div>
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
	</div>
	</div>
	</div>

</div>
<!--头部与导航end-->
<div id="mainFrame">
			<table width="100%" cellpadding="0" cellspacing="0" class="table_border0">
				<tr>
					<!--左侧区域start-->
					<td id="hideCon" class="ver01 ali01">
						<div id="lbox">
							<div class="LeftNav_title clearfloat" id="lbox_topcenter">
								<!--<i></i>-->
								<span>工作台</span>
								<b></b>
							</div>
							<div id="lbox_middlecenter">
								<div id="lbox_middleleft">
									<div id="lbox_middleright">
										<div id="bs_left">
											
											<div class="LeftNav_win">
												
												<div class="stair_win" id="stair_win">
													
												</div>
											</div>
										</div>
										<!--更改左侧栏的宽度需要修改id="bs_left"的样式-->
									</div>
								</div>
							</div>
							<div id="lbox_bottomcenter">
								<div id="lbox_bottomleft">
									<div id="lbox_bottomright">
										<div class="lbox_foot"></div>
									</div>
								</div>
							</div>
						</div>
					</td>
					<!--左侧区域end-->

					<!--右侧区域start-->
					<td class="ali01 ver01" width="100%">
						<div id="rbox">
							<div id="rbox_topcenter" class="clearfloat">
								<!--<div id="rbox_topleft">
									<div id="rbox_topright"></div>
								</div>-->
								<div class="rbox_topcenter_left" id="mainPos">

								</div>
								
							</div>
							<div id="rbox_middlecenter">
								<div id="rbox_middleleft">
									<div id="rbox_middleright">
										<div id="bs_right">
											<IFRAME style="box-sizing: border-box;" height="100%" width="100%" frameBorder=0 id=frmright name=frmright src="../../sample_skin/page5/page5.html" allowTransparency="true"></IFRAME>
										</div>
									</div>
								</div>
							</div>
							<div id="rbox_bottomcenter">
								<div id="rbox_bottomleft">
									<div id="rbox_bottomright">

									</div>
								</div>
							</div>
						</div>
					</td>
					<!--右侧区域end-->
				</tr>
			</table>

			<!--尾部区域start-->
			<!--<div id="fbox">
				<div id="bs_footcenter">
					<div id="bs_footleft">
						<div id="bs_footright">
							版权所有：http://www.quickui.net
						</div>
					</div>
				</div>
			</div>-->
		</div>

<!--尾部区域start-->
<!--<div id="fbox">
	<div id="bs_footcenter">
	<div id="bs_footleft">
	<div id="bs_footright">
		版权所有：http://www.quickui.net
	</div>
	</div>
	</div>
</div>-->
</div>
<!--尾部区域end-->

<!--浏览器resize事件修正start-->
<div id="resizeFix"></div>
<!--浏览器resize事件修正end-->

<!--窗口任务栏区域start-->
<div id="dialogTask" class="dialogTaskBg" style="display:none;"></div>
<!--窗口任务栏区域end-->

<!--载进度条start-->
<div class="progressBg" id="progress" style="display:none;"><div class="progressBar"></div></div>
<!--载进度条end-->
<!---->
<script type="text/javascript">
	var data = [
		{ "news": "请假正在审批中" },
		{ "news": "请各位周五前提交周报" },
		{ "news": "QUICKUI新版本上线啦" }
	];
	tip_construction(data, ".right_tip", 10000); //数据，div的class或者id，定时器时间
	
	var menuData=[
	
	{ "id":"1", "parentId":"0", "name":"OA办公", "isParent": "true","backgroundPosition":"0px -80px","img":"./skin/topIcons/icon01.png"},	
	{ "id":"102", "parentId":"1", "name":"考勤单据","url":"../../sample_skin/demo/oa_01.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-48px -64px;"},
	{ "id":"103", "parentId":"1", "name":"我的考勤","url":"../../sample_skin/demo/oa_03.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-50px -0px;"},
	{ "id":"104", "parentId":"1", "name":"公司公告","url":"../../sample_skin/demo/oa_04.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"0 -64px;"},
	{ "id":"105", "parentId":"1", "name":"公告管理","url":"../../sample_skin/demo/oa_05.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-81px -113px;"},
	{ "id":"106", "parentId":"1", "name":"合同管理","url":"../../sample_skin/demo/oa_08.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-64px -31px;"},
	{ "id":"107", "parentId":"1", "name":"拜访门店","url":"../../sample_skin/demo/oa_10.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-81px -32px;"},
	{ "id":"108", "parentId":"1", "name":"加班调休查询","url":"../../sample_skin/demo/oa_11.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-18px -32px;"},
	{ "id":"109", "parentId":"1", "name":"员工通讯录","url":"../../sample_skin/demo/oa_12.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-207px -96px;"},
	{ "id":"113", "parentId":"1", "name":"考勤归档","url":"../../sample_skin/demo/oa_13.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-207px -32px;"},
	{ "id":"114", "parentId":"1", "name":"费用报销","url":"../../sample_skin/demo/oa_14.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-64px -80px;"},
	{ "id":"115", "parentId":"1", "name":"报销单审批", "url":"../../sample_skin/demo/oa_18.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-97px -64px;"},
	

	{ "id":"5", "parentId":"0", "name":"ERP管理", "isParent": "true","backgroundPosition":"0px -96px","img":"./skin/topIcons/icon05.png"},
	{ "id":"501", "parentId":"5", "name":"采购管理","url":"../../sample_skin/demo/oa_30.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"0px -32px"},
	{ "id":"502", "parentId":"5", "name":"入库【采购】","url":"../../sample_skin/demo/oa_36.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-48px -48px"},
	{ "id":"503", "parentId":"5", "name":"退货管理","url":"../../sample_skin/demo/oa_37.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-111px -48px"},
	{ "id":"504", "parentId":"5", "name":"人工受订单","url":"../../sample_skin/demo/oa_39.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-208px -64px"},
	{ "id":"505", "parentId":"5", "name":"出库【人工受订】","url":"../../sample_skin/demo/oa_44.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-178px -64px"},
	{ "id":"506", "parentId":"5", "name":"入库【人工受订单退货】","url":"../../sample_skin/demo/oa_47.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-131px 0px"},
	{ "id":"507", "parentId":"5", "name":"库存管理","url":"../../sample_skin/demo/oa_50.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"0px -96px"},
	{ "id":"508", "parentId":"5", "name":"供应商管理","url":"../../sample_skin/demo/oa_55.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-34px -112px"},
	{ "id":"509", "parentId":"5", "name":"库房出入管理","url":"../../sample_skin/demo/oa_59.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-147px 0px"},
	{ "id":"510", "parentId":"5", "name":"仓库管理","url":"../../sample_skin/demo/oa_61.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-165px 0px"},
	{ "id":"511", "parentId":"5", "name":"仓位管理","url":"../../sample_skin/demo/oa_63.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-131px -14px"},
	
	{ "id":"7", "parentId":"0", "name":"财务管理", "isParent": "true","backgroundPosition":"0px -112px","img":"./skin/topIcons/icon03.png"},
	
	{ "id":"701", "parentId":"7", "name":"收付款", "url":"../../sample_skin/demo/oa_65.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"0px -32px"},
	{ "id":"702", "parentId":"7", "name":"出货利润", "url":"../../sample_skin/demo/oa_68.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-98px -112px"},
	
	
	{ "id":"3", "parentId":"0", "name":"基础管理", "isParent": "true","backgroundPosition":"0px -32px","img":"./skin/topIcons/icon03.png"},

	{ "id":"3011", "parentId":"3", "name":"招商留言","url":"../../sample_skin/demo/oa_17.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-161px -64px"},
	
	{ "id":"3021", "parentId":"3", "name":"资源管理", "url":"../../sample_skin/demo/oa_20.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-207px -96px"},
	{ "id":"3022", "parentId":"3", "name":"企业管理", "url":"../../sample_skin/demo/oa_22.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-192px -64px"},
	{ "id":"3023", "parentId":"3", "name":"品牌管理", "url":"../../sample_skin/demo/oa_23.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-178px -64px"},
	{ "id":"3024", "parentId":"3", "name":"分类管理", "url":"../../sample_skin/demo/oa_24.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-48px -64px"},
	{ "id":"3025", "parentId":"3", "name":"商品管理", "url":"../../sample_skin/demo/oa_25.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-50px 0px"},
	{ "id":"3026", "parentId":"3", "name":"商品SKU管理", "url":"../../sample_skin/demo/oa_27.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"0px -64px"},
	
	{ "id":"4", "parentId":"0", "name":"基础信息", "isParent": "true","backgroundPosition":"-18px -32px","img":"./skin/topIcons/icon04.png"},
	{ "id":"401", "parentId":"4", "name":"后台用户", "url":"../../sample_skin/demo/oa_70.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-81px -113px"},
	{ "id":"402", "parentId":"4", "name":"消费者用户", "url":"../../sample_skin/demo/oa_72.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-64px -31px"},
	{ "id":"403", "parentId":"4", "name":"门店用户", "url":"../../sample_skin/demo/oa_73.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-97px -32px"},
	
	{ "id":"404", "parentId":"4", "name":"部门管理","url":"../../sample_skin/demo/oa_75.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-206px -96px"},
	{ "id":"405", "parentId":"4", "name":"用户组管理","url":"../../sample_skin/demo/oa_77.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-18px -32px"},
	{ "id":"406", "parentId":"4", "name":"审批流配置","url":"../../sample_skin/demo/oa_79.html", "target":"frmright","icon": "./skin/nav_icon_bg.png","backgroundPosition":"-48px -48px"}

];
var setting = {
	data: {
		simpleData: {
			idKey: "id",
			pIdKey: "parentId",
			enable: true
		},
		key: {
			children: "children"
		},
		minWidth:80,
		topMenu:true
	}
};
$(function(){
	initMenuNav(menuData,setting);
})
function lockScreen(){
	top.Dialog.confirm("确定要锁屏吗，锁屏后只有重新输入密码才能解除。",function(){
		openLockWindow();
	});
}
function openLockWindow(){
	var diag = new top.Dialog();
		diag.Title = "系统锁屏";
		diag.ID = "a1";
		diag.URL="../../sample_skin/normal/lock.html";
		diag.Width=350;
		diag.Height=150;
		diag.ShowCloseButton=false;
		diag.ShowCancelButton=false;
		diag.ShowOkButton=false;
		diag.ButtonAlign="center";
		diag.AllowChangeIndex=false;
		diag.show();
		diag.addButton("btn1","注销系统",function(){
			top.Dialog.confirm("确定要退出系统吗",function(){top.Dialog.close();});
		})
		diag.addButton("btn2","确定解锁",function(){
			top.Dialog.close();
		})
}

</script>
</body>
</html>
